package cn.yy.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Clientbill entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "clientbill", catalog = "phoneerp")
public class Clientbill implements java.io.Serializable {

	// Fields

	private Integer clientBillId;
	private Integer clientId;
	private Double originCount;
	private Integer reciptId;
	private Double clientPay;

	// Constructors

	/** default constructor */
	public Clientbill() {
	}

	/** full constructor */
	public Clientbill(Integer clientId, Double originCount, Integer reciptId,
			Double clientPay) {
		this.clientId = clientId;
		this.originCount = originCount;
		this.reciptId = reciptId;
		this.clientPay = clientPay;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "clientBillId", unique = true, nullable = false)
	public Integer getClientBillId() {
		return this.clientBillId;
	}

	public void setClientBillId(Integer clientBillId) {
		this.clientBillId = clientBillId;
	}

	@Column(name = "clientId", nullable = false)
	public Integer getClientId() {
		return this.clientId;
	}

	public void setClientId(Integer clientId) {
		this.clientId = clientId;
	}

	@Column(name = "originCount", nullable = false, precision = 22, scale = 0)
	public Double getOriginCount() {
		return this.originCount;
	}

	public void setOriginCount(Double originCount) {
		this.originCount = originCount;
	}

	@Column(name = "reciptID", nullable = false)
	public Integer getReciptId() {
		return this.reciptId;
	}

	public void setReciptId(Integer reciptId) {
		this.reciptId = reciptId;
	}

	@Column(name = "clientPay", nullable = false, precision = 22, scale = 0)
	public Double getClientPay() {
		return this.clientPay;
	}

	public void setClientPay(Double clientPay) {
		this.clientPay = clientPay;
	}

}